package models

import "time"

type BorrowRecord struct {
	ID         uint       `gorm:"primaryKey"`
	UserID     uint       `json:"user_id"`
	BookID     uint       `json:"book_id"`
	BorrowedAt time.Time  `json:"borrowed_at"`
	ReturnedAt *time.Time `json:"returned_at,omitempty"`
}
